import {configureStore} from '@reduxjs/toolkit'
import counterReducer from '@/store/modules/counterSlice'
/**
 * 调用configureStore来创建仓库的store对象，该函数的对象是一个配置对象
 * 配置对象中常见属性
 * 
 */

const store=configureStore({
    reducer:{
        counterKey:counterReducer
    }
})
export default store